﻿<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:view="clr-namespace:PasswordProvider.View">

    <SolidColorBrush x:Key="WindowBrush">WhiteSmoke</SolidColorBrush>

    <Color x:Key="DetailColorLight">#FFF8F7EF</Color>
    <Color x:Key="DetailColor">#FFDDD8C1</Color>
    <Color x:Key="DetailColorDark">#FF796A16</Color>

    <Color x:Key="DetailActiveColorLight">#FFFAF6E1</Color>
    <Color x:Key="DetailActiveColor">#FFE9D976</Color>
    <Color x:Key="DetailActiveColorDark">#FFC6AA00</Color>

    <Color x:Key="PageGradientColor1">#FFE6E5DF</Color>
    <Color x:Key="PageGradientColor2">#FFF1F1EE</Color>

    <SolidColorBrush x:Key="DetailBrush" Color="{DynamicResource DetailColor}"/>
    <SolidColorBrush x:Key="DetailBrushLight" Color="{DynamicResource DetailColorLight}" />
    <SolidColorBrush x:Key="DetailBrushDark" Color="{DynamicResource DetailColorDark}" />
    <SolidColorBrush x:Key="DetailActiveBrush" Color="{DynamicResource DetailActiveColor}" />
    <SolidColorBrush x:Key="DetailActiveBrushLight" Color="{DynamicResource DetailActiveColorLight}" />
    <SolidColorBrush x:Key="DetailActiveBrushDark" Color="{DynamicResource DetailActiveColorDark}" />

    <LinearGradientBrush x:Key="ActiveBorderBrush" StartPoint="0,0" EndPoint="0,20" MappingMode="Absolute">
        <LinearGradientBrush.GradientStops>
            <GradientStop Color="#FFC6AA00" Offset="0.05" />
            <GradientStop Color="#FFE6DCAF" Offset="0.07" />
            <GradientStop Color="#FFE6DCAF" Offset="1" />
        </LinearGradientBrush.GradientStops>
    </LinearGradientBrush>

    <LinearGradientBrush x:Key="ActiveButtonBrush" StartPoint="0,0" EndPoint="0,1">
        <LinearGradientBrush.GradientStops>
            <GradientStop Color="#FFFAF6DE" Offset="0.15" />
            <GradientStop Color="#FFE9E6CF" Offset=".5" />
            <GradientStop Color="#FFE9E0AF" Offset=".5" />
            <GradientStop Color="#FFE1D593" Offset="1" />
        </LinearGradientBrush.GradientStops>
    </LinearGradientBrush>

    <!-- Background Brush for an inactive tab item -->
    <LinearGradientBrush x:Key="InactiveTabItemBackgroundBrush">
        <GradientStop Color="{DynamicResource PageGradientColor1}" Offset="0" />
        <GradientStop Color="#FFEEEEEE" Offset="1"/>
    </LinearGradientBrush>
    <!-- Background Brush for an active tab item -->
    <SolidColorBrush x:Key="ActiveTabItemBackgroundBrush" Color="{DynamicResource PageGradientColor1}" />


    <LinearGradientBrush x:Key="MenuBackground" StartPoint="0,0.5" EndPoint="1,0.5">
        <GradientStop Color="#FFD0C8B8" Offset="0"/>
        <GradientStop Color="#FFD0CDC8" Offset="1" />
    </LinearGradientBrush >
    <SolidColorBrush x:Key="MenuForeground" Color="Black" />

    <!-- Style for the enter password page -->
    <Style TargetType="{x:Type view:EnterPasswordPage}">
        <Setter Property="Foreground" Value="White"/>
        <Setter Property="Background">
            <Setter.Value>
                <LinearGradientBrush StartPoint="0.35,0" EndPoint="0.65,1">
                    <GradientStop Color="#FFBCA660" Offset="0.30"/>
                    <GradientStop Color="#FFBCB290" Offset="1" />
                </LinearGradientBrush >
            </Setter.Value>
        </Setter>
    </Style>

    <!-- Style for the help reader window -->
    <Style TargetType="{x:Type view:HelpReader}">
        <Setter Property="Foreground" Value="WhiteSmoke" />
        <Setter Property="BorderBrush" Value="#A0BCA660" />

    </Style>

    <!-- Standard Border brush for an input control -->
    <LinearGradientBrush x:Key="ValueBoxBorderBrush" StartPoint="0.5,0" EndPoint="0.5,1">
        <GradientStop Color="{StaticResource DetailColor}" Offset="0"/>
        <GradientStop Color="{StaticResource DetailColorLight}" Offset=".1" />
    </LinearGradientBrush >


</ResourceDictionary>